package com.dmap.knowledge.service;

import com.dmap.knowledge.controller.api.param.BannerEditParam;
import com.dmap.knowledge.controller.api.param.BannerParam;
import com.dmap.knowledge.po.Banner;

public interface BannerService {
    
    /**
     * 查看banner
     * @param bannerId
     * @return
     */
    Banner getBanner(long bannerId);
    /**
     * 插入banner
     * @param bannerParam
     * @return
     */
    public long insertBanner(BannerParam bannerParam);
    
    /**
     * 删除banner
     * @param bannerIds
     * @return
     */
    public int deleteBanner(long bannerIds);
    
    /**
     * 更新banner
     * @param bannerEditParam
     * @return
     */
    public int updateBanner(BannerEditParam bannerEditParam);
    
    /**
     * 删除banner批量
     * @param bannerIds
     * @return
     */
    public int deleteBannerList(String bannerIds);
    
  
    /**
     * 更新阅读量
     * @param bannerId
     * @return
     */
    public int updateBannerBrowseNumber(long bannerId);
    public String bannerScheduleInfo(Banner banner);
    
    
}
